difficult patterns in c and c